package com.hitqz.robot.driver.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 机器人建图时候进行转换的增量数据
 */
@Data
public class RobotoCreateMapIncrementDataDto {

    @Schema(description = "机器人编码")
    private String robotSn;

    @Schema(description = "地图宽度")
    private int width;

    @Schema(description = "比例尺")
    private float resolution;

    @Schema(description = "地图高度")
    private int height;

    @Schema(description = "数据")
    private List<Byte> bytes;

    @Schema(description = "当数据对象是增量地图数据时，这个表示变化的字节索引，与bytes的元素个数一致。")
    private List<Integer> indices;

    @Schema(description = "点位信息")
    private CreateMapPosInfoDto posInfoDto;

    @Schema(description = "机器人原始点位信息")
    private PoseDto robotInfoDto;

    @Schema(description = "消息号-用于取redis")
    private String messageNumber;
}
